import Vue from 'vue'
import VueRouter from 'vue-router'


import Container from '../views/Container/index.vue'
import Home from '../views/Home/index.vue' // 首页
import Login from '../views/Login/index.vue' // 登录
import qrCode from '../views/Login/qrCode.vue' // 二维码登录
import qrCodeTwo from '../views/Login/qrCodeTwo.vue' // 二维码登录

import loading from '../views/Login/loading.vue' // 登录过程
import loadingmz from '../views/Login/loadingmz.vue' // 登录过程
import table from '../views/table/table.vue' // 登录




//用户管理
import UserAdminUserList from '../views/UserAdmin/userlist/index.vue'   // 用户管理
import UserAdminUserDetail from '../views/UserAdmin/userlist/detail.vue'   // 用户详情



//快闪店管理
import WorkingSchedule from '../views/ShopAdmin/WorkingSchedule/index.vue' // 排班表
import Shop from '../views/ShopAdmin/Shop/index.vue' // 门店列表
import ReportForm from '../views/ShopAdmin/ReportForm/index.vue' // 报表

// 财务管理
import TaobaoAeconciliation from '../views/CFOAdmin/FinancialManagement/index.vue' // 淘宝对账列表
import TaobaoRefund from '../views/CFOAdmin/FinancialManagement/refund.vue' // 退款对账列表
import TaobaoTianmao from '../views/CFOAdmin/FinancialManagement/tianmao.vue' // 天猫对账列表
import FinanceRefundRecord from '../views/CFOAdmin/FinanceRefundRecord/index.vue' // 退款记录



//行政管理
import Administrative from '../views/Administrative/index.vue' // 采购列表
import Procurement from '../views/Administrative/Procurement.vue' // 采购录入


// 延期表
import PDList from '../views/ExtensionTable/PDList/index.vue' // 生产部列表
import COOList from '../views/ExtensionTable/COOList/index.vue' // 运营部列表
import PostponeList from '../views/ExtensionTable/PostponeList/index.vue' // 延期库存
import WarningList from '../views/ExtensionTable/WarningList/index.vue' // 7天预警
import PostponeGiftList from '../views/ExtensionTable/PostponeGiftList/index.vue' // 赠品延期
import Spectaculars from '../views/ExtensionTable/Spectaculars/index.vue' // 看板
import NotDeliveryTimeList from '../views/ExtensionTable/NotDeliveryTimeList/index.vue' // 无交期数据
import CompetingGoods from '../views/ExtensionTable/CompetingGoods/index.vue' // 无交期数据


// 企划
import Schedule from '../views/LayoutAdmin/Schedule/index.vue' // 企划进度
import Suit from '../views/LayoutAdmin/Suit/index.vue' // 套装列表
import LayoutList from '../views/LayoutAdmin/LayoutList/index.vue' // 企划列表
import CategoryList from '../views/LayoutAdmin/CategoryList/index.vue' // 品类列表
import newSuit from '../views/LayoutAdmin/Suit/newSuit.vue' // 新建套装
import ShapeAndStructure from '../views/LayoutAdmin/ShapeAndStructure/index.vue' //形制列表
import LayoutAdminFlowPath from '../views/LayoutAdmin/FlowPath/index.vue' //流程列表
import LayoutAdminFlowPathNewFlow from '../views/LayoutAdmin/FlowPath/NewFlow.vue' //新增流程


// 一衣一码管理
import OneBoard from '../views/CodeAdmin/OneBoard/index.vue' // 一衣一码看板
import Export from '../views/CodeAdmin/Export/index.vue' // 一衣一码导出
import Backlog from '../views/CodeAdmin/Backlog/index.vue' // 一衣一码导出
import CancellationList from '../views/CodeAdmin/CancellationList/index.vue' // 作废列表
import ExportCancellation from '../views/CodeAdmin/Export/cancellation.vue' // 一衣一码导出/作废
import LeakRepairingList from '../views/CodeAdmin/LeakRepairingList/index.vue'   // 增裁列表




// QC质检
import QCList from '../views/QC/QCList/index.vue' // QC质检员名单
import QCRecord from '../views/QC/QCRecord/index.vue' // QC质检记录
import QCHistory from '../views/QC/QCHistory/index.vue'   // QC质检历史记录详情
import QCBoard from '../views/QC/QCBoard/index.vue' // QC看板
import QCAweekBoard from '../views/QC/QCBoard/AweekBoard/index.vue' // QC不合格看板
import QCQualifiedList from '../views/QC/QCQualifiedList/index.vue' // QC合格率查询统计
import QCExemptQC from '../views/QC/ExemptQC/index.vue'   // 免QC质检




// 仓库
import CangList from '../views/Cang/CangList/index.vue' // 仓检质检员名单
import CangBoard from '../views/Cang/CangBoard/index.vue' // 仓库看板
import CangRecord from '../views/Cang/CangRecord/index.vue' // 仓库质检记录
import CangAweekBoard from '../views/Cang/CangBoard/AweekBoard/index.vue' // 仓库不合格看板
import CangQualifiedList from '../views/Cang/CangQualifiedList/index.vue' // 仓检合格率查询统计
import CangHistory from '../views/Cang/CangHistory/index.vue'   // 仓检历史记录详情
import CangrkthList from '../views/Cang/rkthList.vue'   // 入库退货管理
import CangrkthListw from '../views/Cang/rkthListw.vue'   // 入库退货管理

import CangrkthDetail from '../views/Cang/rkthDetail.vue'   // 入库退货管理详情
import Cangrkthstamp from '../views/Cang/components/stamp.vue'   // 打印入库退货单



// 运营部
import AntiFake from '../views/OperationalDepartment/AntiFake/index.vue'   // 用户防伪查询记录
import ComplainList from '../views/OperationalDepartment/ComplainList/index.vue'   // 投诉列表
import DBOLeakRepairingList from '../views/OperationalDepartment/DBOLeakRepairingList/index.vue'   // 增裁审核
import ReorderRecord from '../views/OperationalDepartment/ReorderRecord/index.vue' // 翻单记录
import ReorderRecordDetail from '../views/OperationalDepartment/ReorderRecord/detail.vue' // 翻单详情
import OperationalDepartmentLargeScreen from '../views/OperationalDepartment/LargeScreen/index.vue' // 数据大屏
import OperationalDepartmentInventory from '../views/OperationalDepartment/Inventory.vue' // 库存查询
import OperationalDepartmentInventoryAllocation from '../views/OperationalDepartment/InventoryAllocation.vue' // 批次库存
import OperationalDepartmentInventoryAllocationcopy from '../views/OperationalDepartment/InventoryAllocationcopy.vue' // 库存分配
import OperationalDepartmentInventoryAllocationcopyYx from '../views/OperationalDepartment/InventoryAllocationcopyYx.vue' // 有香库存

import OperationalDepartmentInventoryAllocationTB from '../views/OperationalDepartment/InventoryAllocationTB.vue' // 淘宝库存分配
import OperationalDepartmentInventoryAllocationTM from '../views/OperationalDepartment/InventoryAllocationTM.vue' // 天猫库存分配
import OperationalDepartmentInventoryAllocationDY from '../views/OperationalDepartment/InventoryAllocationDY.vue' // 抖音库存分配
import OperationalDepartmentexport from '../views/OperationalDepartment/export.vue' // 导出任列表

import OperationalDepartmentCommodityInformationManagement from '../views/OperationalDepartment/CommodityInformationManagement/index.vue' // 商品信息管理
import OperationalDepartmentCommodityInformationManagementEdit from '../views/OperationalDepartment/CommodityInformationManagement/edit.vue' // 商品信息编辑(款)
import OperationalDepartmentCommodityInformationManagementEditTao from '../views/OperationalDepartment/CommodityInformationManagement/editTao.vue' // 商品信息编辑(套)
import OperationalDepartmentTag from '../views/OperationalDepartment/Tag/index.vue' // 商品种类管理
import OperationalDepartmentTagEdit from '../views/OperationalDepartment/Tag/edit.vue' // 商品种类编辑
import OperationalDepartmentCategory from '../views/OperationalDepartment/Category/index.vue' // 商品品类管理
import OperationalDepartmentCategoryEdit from '../views/OperationalDepartment/Category/edit.vue' // 商品品类编辑
import OperationalDepartmentProductionSummaryIndex from '../views/OperationalDepartment/ProductionSummary/index.vue' // 产品汇总表
import SalesDataAnalysis from '../views/OperationalDepartment/SalesDataAnalysis/index.vue'   // 销售数据分析
import OperationalDepartmentBasic from '../views/OperationalDepartment/Basic/index.vue'   // 销售数据分析
import OperationalDepartmentNotForSale from '../views/OperationalDepartment/NotForSale/index.vue'   // 商品基本信息管理
import OperationalDepartmentNotForSaleEdit from '../views/OperationalDepartment/NotForSale/edit.vue'   // 商品基本信息编辑
import middle from '../views/Contract/middle.vue'   // 中间件
import OperationalDepartmentFabric from '../views/OperationalDepartment/Fabric/index.vue'   // 面料管理
import OperationalDepartmentFabricEdit from '../views/OperationalDepartment/Fabric/edit.vue'   // 面料编辑
import ProcessMaintenance from '../views/Process/maintenance.vue'  // 部位/方案/基码维护
import ProcessMaintenancePlan from '../views/Process/plan.vue' // 方案编辑
import ProcessMaintenanceCodons from '../views/Process/codons.vue' // 基码编辑
import ProcessMaintenanceSize from '../views/Process/size.vue'  // 尺码表
import ProcessMaintenanceSizeEdit from '../views/Process/sizeedit.vue'  // 尺码表编辑
import ProcessMaintenanceSizelook from '../views/Process/sizelook.vue'  // 尺码表查看
import ProcessMaintenanceProcess from '../views/Process/process.vue'  // 工艺单
import ProcessMaintenanceProcessedit from '../views/Process/processedit.vue'  // 工艺单编辑
import ProcessMaintenanceProcesslook from '../views/Process/processlook.vue'  // 工艺单查看
import processPDF from '../views/Process/processPDF.vue'  // 工艺单下载
import processSizelist from '../views/Process/sizelist.vue'  // 尺寸维护
import processSizepdf from '../views/Process/sizepdf.vue'  // 尺码表下载
import processTechnologydata from '../views/Process/technologydata.vue'  // 技术部资料
import processTechnologydataEdit from '../views/Process/technologydataEdit.vue'  // 技术部资料编辑
import processTechnologydataLook from '../views/Process/technologydataLook.vue'  // 技术部资料详情
import CustomModuleDesignFiles from '../views/CustomModule/DesignFiles.vue'  // 设计档案
import CustomModuleRouter from '../views/CustomModule/router.vue'  // 设计档案
import CustomModuleDesignFilesDetail from '../views/CustomModule/DesignFilesDetail.vue'  // 设计档案
import CustomModuleFybgAdd from '../views/CustomModule/FybgAdd.vue'  // 封样报告编辑
import CustomModuleFybgNew from '../views/CustomModule/FybgNew.vue'  // 封样报告创建
import CustomModuleFybgLook from '../views/CustomModule/FybgLook.vue'  // 封样报告详情
import CustomModuleYpList from '../views/CustomModule/YpList.vue'  // 预排列表


import PortfolioGoodsIndex from '../views/PortfolioGoods/index.vue'  // 组合商品
import PortfolioGoodsDetail from '../views/PortfolioGoods/detail.vue'  // 组合商品列表
import PreSaleIndex from '../views/PreSale/index.vue'  // 预售计划列表
import PreSaleDetail from '../views/PreSale/detail.vue'  // 预售计划列表
import OperationalDepartmentOrderIndex from '../views/OperationalDepartment/Order/index.vue'  // 运营订单进度
import OperationalDepartmentDYStockIndex from '../views/OperationalDepartment/DYStock/index.vue'  // 抖音组合库存
import OperationalDepartmentDYStockIndexAll from '../views/OperationalDepartment/DYStock/indexAll.vue'  // 全平台组合商品库存
import OperationalDepartmentColorAbnormal from '../views/OperationalDepartment/ColorAbnormal.vue'  // 颜色码异常
import OperationalDepartmentOrderListindex from '../views/OperationalDepartment/OrderList/index.vue'  // 运营订单
import OperationalDepartmentOrderListDetail from '../views/OperationalDepartment/OrderList/detail.vue'  // 运营订单管理


// 生产部
import InquireRFID from '../views/PDAdmin/InquireRFID/index.vue'   // 查询RFID
import PlantList from '../views/PDAdmin/PlantList/index.vue'   // 加工厂列表
import PlantUserList from '../views/PDAdmin/PlantList/UserList.vue'   // 加工厂用户列表
import PlantUserListOne from '../views/PDAdmin/PlantList/UserListOne.vue'   // 加工厂用户列表

import PlantDetail from '../views/PDAdmin/PlantList/detail.vue'   // 加工厂用户编辑
import SpillRatio from '../views/PDAdmin/SpillRatio/index.vue' // 溢装比列表
import SendRecord from '../views/PDAdmin/SendRecord/index.vue'   // 唯一码发送记录
import LiningAdmin from '../views/PDAdmin/LiningAdmin/index.vue'   // 面料管理
import LiningAdminDetail from '../views/PDAdmin/LiningAdmin/detail.vue'   // 面料详情
import LiningAdminClassList from '../views/PDAdmin/LiningAdmin/classlist.vue'   // 面料类型管理
import Maintenance from '../views/PDAdmin/Maintenance/index.vue'   // 吊牌管理
import MaintenanceDetail from '../views/PDAdmin/Maintenance/detail.vue'   // 吊牌详情
import PDAdminMaintenanceAffirmList from '../views/PDAdmin/MaintenanceAffirmList/index.vue'   // 吊牌确认列表

import PDAdminProvenTechniqueFSMSP from '../views/PDAdmin/ProvenTechniqueFSMSP/index.vue'   // 非售卖商品成品加工单
import PDAdminProvenTechniqueFSMSPEdit from '../views/PDAdmin/ProvenTechniqueFSMSP/edit.vue'   // 非售卖商品成品加工单编辑
import PDAdminProvenTechniqueFSMSPNew from '../views/PDAdmin/ProvenTechniqueFSMSP/new.vue'   // 非售卖商品成品加工单新建
import PDAdminProvenTechnique from '../views/PDAdmin/ProvenTechnique/index.vue'   // 面料管理
import PDAdminProvenTechniqueJS from '../views/PDAdmin/ProvenTechnique/indexJS.vue'   // 面料管理
import PDAdminProvenTechniqueT from '../views/PDAdmin/ProvenTechnique/indexT.vue'   // 加工单推送
import PDAdminProvenTechniquepurchaseReturn from '../views/PDAdmin/ProvenTechnique/purchaseReturn.vue'   // 采购退货
import PDAdminPZIndex from '../views/PDAdmin/PZ/index.vue'   // 批注


import PDAdminLiningAffirmList from '../views/PDAdmin/LiningAffirmList/index.vue'   // 面料确认列表
import PDAdminRiskWarning from '../views/PDAdmin/RiskWarning/index.vue'   // 查看预警列表
import PDAdminProvenTechniqueMy from '../views/PDAdmin/ProvenTechniqueMy/index.vue'   // 个人成品加工单

import PDAdminTransfersIndex from '../views/PDAdmin/Transfers/index.vue'   // 调拨单列表
import PDAdminTransfersAdd from '../views/PDAdmin/Transfers/add.vue'   // 借出申请
import PDAdminTransfersAddZ from '../views/PDAdmin/Transfers/addZ.vue'   // 赠送申请
import PDAdminTransfersAddZxs from '../views/PDAdmin/Transfers/addZxs.vue'   // 借转销售申请
import PDAdminTransfersaddN from '../views/PDAdmin/Transfers/addN.vue'   // 内购申请
import PDAdminTransfersaddP from '../views/PDAdmin/Transfers/addP.vue'   // 批发申请
import PDAdminTransfersaddB from '../views/PDAdmin/Transfers/addB.vue'   // 报次申请
import PDAdminTransfersdetailN from '../views/PDAdmin/Transfers/detailN.vue'   // 内购详情
import PDAdminTransfersdetailP from '../views/PDAdmin/Transfers/detailP.vue'   // 批发详情
import PDAdminTransfersdetailZxs from '../views/PDAdmin/Transfers/detailZxs.vue'   // 借转销售详情

import PDAdminOrderIndex from '../views/PDAdmin/Order/index.vue'   // 调拨出库
import PDAdminTransfersNglist from '../views/PDAdmin/Transfers/nglist.vue'   // 内购全员
import PDAdminTransfersZxslist from '../views/PDAdmin/Transfers/zxslist.vue'   // 借转销售全员
import PDAdminTransfersZxslistone from '../views/PDAdmin/Transfers/zxslistone.vue'   // 借转销售个人

import PDAdminTransfersNglistOne from '../views/PDAdmin/Transfers/nglistone.vue'   // 个人内购
import PDAdminTransfersPflistOne from '../views/PDAdmin/Transfers/pflistone.vue'   // 个人批发
import PDAdminTransfersPflist from '../views/PDAdmin/Transfers/pflist.vue'   // 全员批发

import PDAdminTransfersBclist from '../views/PDAdmin/Transfers/bclist.vue'   // 全员报次
import PDAdminTransfersBclistOne from '../views/PDAdmin/Transfers/bclistone.vue'   // 个人报次
import PDAdminTransfersdetailB from '../views/PDAdmin/Transfers/detailB.vue'   // 报次详情
// 人力资源
import HR from '../views/HR/index.vue'   // 面试白名单
import HRTwo from '../views/HR/indextwo.vue'   // 面试汇总
import HRThree from '../views/HR/indexthree.vue'   // 员工信息
import HRDepartment from '../views/HR/department.vue'   // 部门管理
import HRInterviewIssue from '../views/HR/InterviewIssue.vue'   // 添加面试岗位问题
import PositionList from '../views/HR/PositionList.vue'   // 职位列表
import DISCList from '../views/HR/DISCList.vue'   // DISC列表
import HRDimissionList from '../views/HR/DimissionList.vue'   // 离职管理
import HROKRDataList from '../views/HR/OKRDataList.vue'   // OKR数据详情列表
import HROKRadminkanban from '../views/HR/adminkanban.vue'   // OKR管理员看板
import HROKRDistributionDetails from '../views/HR/OKRDistributionDetails.vue'   // OKR评级一级部门分布详情


// 对账单
import contractrunid from '../views/Contract/runid.vue'   // 审批进度
import contractruniddetail from '../views/Contract/runiddetail.vue'   // 审批进度

import Contractlist from '../views/Contract/contractlist.vue'   // 合同列表
import contractlistXH from '../views/Contract/contractlistXH.vue'   // 绣花合同列表

import Contractdetail from '../views/Contract/contractdetail.vue'   // 合同详情
import Contractimprest from '../views/Contract/contractimprest.vue'   // 预付款管理
import Contractpenalty from '../views/Contract/contractpenalty.vue'   // 违约金/赔偿金管理
import contractpenaltyXh from '../views/Contract/contractpenaltyXh.vue'   // 绣花违约金/赔偿金管理

import Contractextra from '../views/Contract/contractextra.vue'   // 额外费用管理
import Contractextraworkingprocedure from '../views/Contract/contractextraworkingprocedure.vue'   // 工序加工费管理
import ContractReturnNote from '../views/Contract/ReturnNote.vue'   // 回货单列表
import ContractStatementOfProcessingPlant from '../views/Contract/StatementOfProcessingPlant.vue'   // 对账单列表
import ContractStatementOfProcessingPlantXH from '../views/Contract/StatementOfProcessingPlantXH.vue'   // 绣花厂对账单列表
import ContractStatementOfProcessingPlantFx from '../views/Contract/StatementOfProcessingPlantFx.vue'   // 返修对账单列表
import ContractStatementOfProcessingPlantXHZG from '../views/Contract/StatementOfProcessingPlantXHZG.vue'   // 绣花暂估

import ContractReconciliation from '../views/Contract/Reconciliation.vue'   // 创建/编辑 对账单
import ContractReconciliationXH from '../views/Contract/ReconciliationXH.vue'   // 创建/编辑 绣花对账单
import ContractReconciliationFX from '../views/Contract/ReconciliationFX.vue'   // 返修退款对账单

import ContractReconciliationDetail from '../views/Contract/ReconciliationDetail.vue'   // 对账单详情
import ContractReconciliationDetailXH from '../views/Contract/ReconciliationDetailXH.vue'   // 绣花对账单详情
import ContractReconciliationDetailFx from '../views/Contract/ReconciliationDetailFx.vue'   // 返修对账单详情

import ProcessingNuclearPrice from '../views/Contract/ProcessingNuclearPrice.vue'   // 成品加工核价审核
import NuclearpriceList from '../views/Contract/NuclearpriceList.vue'   // 核价单列表
import NuclearpriceListDetail from '../views/Contract/NuclearpriceListDetail.vue'   // 核价单详情
import Contractcorrection from '../views/Contract/contractcorrection.vue'   // 生产加工单修正
import contractcorrectionadd from '../views/Contract/contractcorrectionadd.vue'   // 生产加工单增裁
import contractEmbroiderList from '../views/Contract/EmbroiderList.vue'   // 加工厂统计
import contractEmbroiderListXH from '../views/Contract/EmbroiderListXH.vue'   // 绣花统计
import Contractrepair from '../views/Contract/contractrepair.vue'   // 返修退款列表
import PDAdminMaintenanceMllist from '../views/PDAdmin/Maintenance/mllist.vue'   // 执行标准/安全类别管理

// 仓库
import WarehouseAdminDeliveryRecordList from '../views/WarehouseAdmin/DeliveryRecordList/index.vue'   // 出库列表
import WarehouseAdminDeliveryRecordListErrorList from '../views/WarehouseAdmin/DeliveryRecordList/errorlist.vue'   // 出库失败列表
import WarehouseAdminMakeIndex from '../views/WarehouseAdmin/Make/index.vue'   // 预约与接收汇总

// 上新表
import OnTheNewTableTheIndexOfInformationIndex from '../views/OnTheNewTable/TheIndexOfInformation/index.vue'   // 指数信息管理
import OnTheNewTableRecommendedIndex from '../views/OnTheNewTable/Recommended/index.vue'   // 推荐尺码管理
import OnTheNewTableOperatingIndex from '../views/OnTheNewTable/Operating/index.vue'   // 上新表总表
import OnTheNewTableOperatingEdit from '../views/OnTheNewTable/Operating/edit.vue'   // 上新表编辑
import OnTheNewTableOperatingIndexCP from '../views/OnTheNewTable/Operating/indexCP.vue'   // 产品部上新表
import OnTheNewTableOperatingIndexJS from '../views/OnTheNewTable/Operating/indexJS.vue'   // 技术部上新表
import OnTheNewTableOperatingIndexSJ from '../views/OnTheNewTable/Operating/indexSJ.vue'   // 设计部上新表
import OnTheNewTableOperatingIndexYX from '../views/OnTheNewTable/Operating/indexYX.vue'   // 营销部上新表
import OnTheNewTableOperatingNewEnd from '../views/OnTheNewTable/Operating/newEnd.vue'   // 上新结束


// 设置
import SettingModelList from '../views/Setting/model/index.vue'   // 模块管理
import SettingModelDetail from '../views/Setting/model/detail.vue'   // 模块管理详情
import SettingModelOneList from '../views/Setting/modelOne/index.vue'   // 模块管理
import SettingModelOneDetail from '../views/Setting/modelOne/detail.vue'   // 模块管理详情
import SettingIdentityList from '../views/Setting/identity/index.vue'   // 身份列表
import SettingIdentityDetail from '../views/Setting/identity/detail.vue'   // 身份详情
import SettingOperationList from '../views/Setting/operation/index.vue'   // 操作管理
import SettingOkr from '../views/Setting/okr/index.vue'   // OKR设置
import SettingError from '../views/Setting/error/index.vue'   // 定时任务错误列表
import SettingErrorTime from '../views/Setting/error/indexTime.vue'   // 定时任务列表
// 全员
import StatisticsIndex from '../views/Statistics/index.vue'   // 物品借还赠主页
import StatisticsAdmin from '../views/Statistics/admin.vue'   // 物品借出详情
import StatisticsAdminZ from '../views/Statistics/adminZ.vue'   // 物品赠送详情
import StatisticsAll from '../views/Statistics/all.vue'   // 全员借还赠管理
import StatisticsAllkf from '../views/Statistics/allkf.vue'   // 借赠推送
import StatisticsAllAdmin from '../views/Statistics/alladmin.vue'   // 全员借还赠管理详情
// 钉钉
import DDH5 from '../views/DD/H5.vue'   // 钉钉H5微应用

// 更新延期数
import UpdateDelay from '../views/UpdateDelay/index.vue'   // 更新延期数
import UpdateDelayList from '../views/UpdateDelay/list.vue'   // 更新延期数列表


// 工厂
import FactoryIndex from '../views/Factory/index.vue'   // 工厂数据统计
import FactoryContrast from '../views/Factory/contrast.vue'   // 工厂数据统计对比



// 点餐
import OtherMealOrder from '../views/Other/Mealorder/index.vue' // 点餐餐单更新
import OtherMealOrderSummarizing from '../views/Other/Mealorder/summarizing.vue' // 汇总


// 开票
import Kpkflist from '../views/kp/kf/list.vue' // 客服开票列表
import Kpcwlist from '../views/kp/cw/list.vue' // 财务开票列表
import Kpdetail from '../views/kp/detail.vue' // 财务开票列表


// 飞书
import fsIndex from '../views/FS/index.vue' // 合同审批

Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    name: 'Container',
    redirect: '/Home',
    component: Container,
    children: [


      {
        path: '/middle',
        name: 'middle',
        component: middle,
        meta: {
          title: "",
          keepAlive: false
        }
      },
      {
        path: '/Kpdetail',
        name: 'Kpdetail',
        component: Kpdetail,
        meta: {
          title: "开票详情",
          keepAlive: false
        }
      },
      {
        path: '/Kpkflist',
        name: 'Kpkflist',
        component: Kpkflist,
        meta: {
          title: "客服发票列表",
          keepAlive: true
        }
      },
      {
        path: '/Kpcwlist',
        name: 'Kpcwlist',
        component: Kpcwlist,
        meta: {
          title: "财务发票列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersdetailB',
        name: 'PDAdminTransfersdetailB',
        component: PDAdminTransfersdetailB,
        meta: {
          title: "报次详情",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersBclistOne',
        name: 'PDAdminTransfersBclistOne',
        component: PDAdminTransfersBclistOne,
        meta: {
          title: "报次列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersBclist',
        name: 'PDAdminTransfersBclist',
        component: PDAdminTransfersBclist,
        meta: {
          title: "全员报次列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersaddP',
        name: 'PDAdminTransfersaddP',
        component: PDAdminTransfersaddP,
        meta: {
          title: "批发申请",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersaddB',
        name: 'PDAdminTransfersaddB',
        component: PDAdminTransfersaddB,
        meta: {
          title: "报次申请",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersPflistOne',
        name: 'PDAdminTransfersPflistOne',
        component: PDAdminTransfersPflistOne,
        meta: {
          title: "个人批发列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersPflist',
        name: 'PDAdminTransfersPflist',
        component: PDAdminTransfersPflist,
        meta: {
          title: "批发列表",
          keepAlive: true
        }
      },

      {
        path: '/OperationalDepartmentOrderListindex',
        name: 'OperationalDepartmentOrderListindex',
        component: OperationalDepartmentOrderListindex,
        meta: {
          title: "运营订单",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentOrderListDetail',
        name: 'OperationalDepartmentOrderListDetail',
        component: OperationalDepartmentOrderListDetail,
        meta: {
          title: "运营订单管理",
          keepAlive: true
        }
      },
      {
        path: '/FactoryContrast',
        name: 'FactoryContrast',
        component: FactoryContrast,
        meta: {
          title: "工厂数据统计对比",
          keepAlive: false
        }
      },
      {
        path: '/FactoryIndex',
        name: 'FactoryIndex',
        component: FactoryIndex,
        meta: {
          title: "工厂数据统计",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminMaintenanceMllist',
        name: 'PDAdminMaintenanceMllist',
        component: PDAdminMaintenanceMllist,
        meta: {
          title: "执行标准/安全类别管理",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminPZIndex',
        name: 'PDAdminPZIndex',
        component: PDAdminPZIndex,
        meta: {
          title: "批次列表",
          keepAlive: true
        }
      },
      {
        path: '/StatisticsAllkf',
        name: 'StatisticsAllkf',
        component: StatisticsAllkf,
        meta: {
          title: "客服借赠推送",
          keepAlive: true
        }
      },

      {
        path: '/CustomModuleYpList',
        name: 'CustomModuleYpList',
        component: CustomModuleYpList,
        meta: {
          title: "加工厂预排列表",
          keepAlive: true
        }
      },
      {
        path: '/CustomModuleFybgNew',
        name: 'CustomModuleFybgNew',
        component: CustomModuleFybgNew,
        meta: {
          title: "新建封样报告",
          keepAlive: true
        }
      },
      {
        path: '/CustomModuleFybgLook',
        name: 'CustomModuleFybgLook',
        component: CustomModuleFybgLook,
        meta: {
          title: "封样报告详情",
          keepAlive: true
        }
      },
      {
        path: '/CustomModuleFybgAdd',
        name: 'CustomModuleFybgAdd',
        component: CustomModuleFybgAdd,
        meta: {
          title: "编辑封样报告",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersdetailN',
        name: 'PDAdminTransfersdetailN',
        component: PDAdminTransfersdetailN,
        meta: {
          title: "内购详情",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersdetailZxs',
        name: 'PDAdminTransfersdetailZxs',
        component: PDAdminTransfersdetailZxs,
        meta: {
          title: "借转销售详情",
          keepAlive: true
        }
      },

      {
        path: '/PDAdminTransfersdetailP',
        name: 'PDAdminTransfersdetailP',
        component: PDAdminTransfersdetailP,
        meta: {
          title: "批发详情",
          keepAlive: true
        }
      },
      {
        path: '/SettingError',
        name: 'SettingError',
        component: SettingError,
        meta: {
          title: "定时任务错误列表",
          keepAlive: true
        }
      },
      {
        path: '/SettingErrorTime',
        name: 'SettingErrorTime',
        component: SettingErrorTime,
        meta: {
          title: "定时任务列表",
          keepAlive: true
        }
      },

      {
        path: '/StatisticsAllAdmin',
        name: 'StatisticsAllAdmin',
        component: StatisticsAllAdmin,
        meta: {
          title: "全员借/赠/还管理详情",
          keepAlive: true
        }
      },
      {
        path: '/StatisticsAll',
        name: 'StatisticsAll',
        component: StatisticsAll,
        meta: {
          title: "全员借/赠/还管理",
          keepAlive: true
        }
      },
      {
        path: '/StatisticsAdminZ',
        name: 'StatisticsAdminZ',
        component: StatisticsAdminZ,
        meta: {
          title: "物品赠送详细",
          keepAlive: true
        }
      },
      {
        path: '/StatisticsAdmin',
        name: 'StatisticsAdmin',
        component: StatisticsAdmin,
        meta: {
          title: "物品借出详情",
          keepAlive: true
        }
      },
      {
        path: '/StatisticsIndex',
        name: 'StatisticsIndex',
        component: StatisticsIndex,
        meta: {
          title: "物品借/赠/还主页",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentDYStockIndexAll',
        name: 'OperationalDepartmentDYStockIndexAll',
        component: OperationalDepartmentDYStockIndexAll,
        meta: {
          title: "全平台组合商品库存",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentDYStockIndex',
        name: 'OperationalDepartmentDYStockIndex',
        component: OperationalDepartmentDYStockIndex,
        meta: {
          title: "抖音组合商品库存",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminOrderIndex',
        name: 'PDAdminOrderIndex',
        component: PDAdminOrderIndex,
        meta: {
          title: "生产订单进度",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentOrderIndex',
        name: 'OperationalDepartmentOrderIndex',
        component: OperationalDepartmentOrderIndex,
        meta: {
          title: "运营订单进度",
          keepAlive: true
        }
      },
      {
        path: '/WarehouseAdminMakeIndex',
        name: 'WarehouseAdminMakeIndex',
        component: WarehouseAdminMakeIndex,
        meta: {
          title: "预约与接收汇总",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentCategory',
        name: 'OperationalDepartmentCategory',
        component: OperationalDepartmentCategory,
        meta: {
          title: "商品品类管理",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentCategoryEdit',
        name: 'OperationalDepartmentCategoryEdit',
        component: OperationalDepartmentCategoryEdit,
        meta: {
          title: "商品品类编辑",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersaddN',
        name: 'PDAdminTransfersaddN',
        component: PDAdminTransfersaddN,
        meta: {
          title: "内购申请",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersAddZ',
        name: 'PDAdminTransfersAddZ',
        component: PDAdminTransfersAddZ,
        meta: {
          title: "赠送申请",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersAddZxs',
        name: 'PDAdminTransfersAddZxs',
        component: PDAdminTransfersAddZxs,
        meta: {
          title: "借转销售申请",
          keepAlive: true
        }
      },

      {
        path: '/PDAdminTransfersAdd',
        name: 'PDAdminTransfersAdd',
        component: PDAdminTransfersAdd,
        meta: {
          title: "借出申请",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersNglist',
        name: 'PDAdminTransfersNglist',
        component: PDAdminTransfersNglist,
        meta: {
          title: "全员内购列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersNglistOne',
        name: 'PDAdminTransfersNglistOne',
        component: PDAdminTransfersNglistOne,
        meta: {
          title: "个人内购列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersZxslist',
        name: 'PDAdminTransfersZxslist',
        component: PDAdminTransfersZxslist,
        meta: {
          title: "全员借转销售列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminTransfersZxslistone',
        name: 'PDAdminTransfersZxslistone',
        component: PDAdminTransfersZxslistone,
        meta: {
          title: "个人借转销售列表",
          keepAlive: true
        }
      },

      {
        path: '/PDAdminTransfersIndex',
        name: 'PDAdminTransfersIndex',
        component: PDAdminTransfersIndex,
        meta: {
          title: "调拨单列表",
          keepAlive: true
        }
      },
      {
        path: '/PreSaleDetail',
        name: 'PreSaleDetail',
        component: PreSaleDetail,
        meta: {
          title: "预售计划详情",
          keepAlive: false
        }
      },
      {
        path: '/PreSaleIndex',
        name: 'PreSaleIndex',
        component: PreSaleIndex,
        meta: {
          title: "预售计划列表",
          keepAlive: true
        }
      },
      {
        path: '/PortfolioGoodsDetail',
        name: 'PortfolioGoodsDetail',
        component: PortfolioGoodsDetail,
        meta: {
          title: "组合商品",
          keepAlive: true
        }
      },
      {
        path: '/PortfolioGoodsIndex',
        name: 'PortfolioGoodsIndex',
        component: PortfolioGoodsIndex,
        meta: {
          title: "套装列表",
          keepAlive: true
        }
      },
      {
        path: '/CustomModuleRouter',
        name: 'CustomModuleRouter',
        component: CustomModuleRouter,
        meta: {
          title: "",
          keepAlive: false
        }
      },
      {
        path: '/CustomModuleDesignFilesDetail/:number/:isClick?',
        name: 'CustomModuleDesignFilesDetail',
        component: CustomModuleDesignFilesDetail,
        meta: {
          title: "设计档案 : ",
          keepAlive: true
        }
      },
      {
        path: '/CustomModuleDesignFiles',
        name: 'CustomModuleDesignFiles',
        component: CustomModuleDesignFiles,
        meta: {
          title: "设计档案",
          keepAlive: true
        }
      },
      {
        path: '/processSizepdf',
        name: 'processSizepdf',
        component: processSizepdf,
        meta: {
          title: "尺码表",
          keepAlive: false
        }
      },
      {
        path: '/HROKRDistributionDetails',
        name: 'HROKRDistributionDetails',
        component: HROKRDistributionDetails,
        meta: {
          title: "OKR评级一级部门分布详情",
          keepAlive: false
        }
      },
      {
        path: '/HROKRadminkanban',
        name: 'HROKRadminkanban',
        component: HROKRadminkanban,
        meta: {
          title: "管理员看板",
          keepAlive: true
        }
      },
      {
        path: '/HROKRDataList',
        name: 'HROKRDataList',
        component: HROKRDataList,
        meta: {
          title: "OKR数据详情",
          keepAlive: true
        }
      },
      {
        path: '/ProcessMaintenanceProcesslook',
        name: 'ProcessMaintenanceProcesslook',
        component: ProcessMaintenanceProcesslook,
        meta: {
          title: "工艺单编辑",
          keepAlive: false
        }
      },
      {
        path: '/processTechnologydataLook',
        name: 'processTechnologydataLook',
        component: processTechnologydataLook,
        meta: {
          title: "技术部资料详情",
          keepAlive: false
        }
      },
      {
        path: '/processTechnologydataEdit',
        name: 'processTechnologydataEdit',
        component: processTechnologydataEdit,
        meta: {
          title: "技术部资料信息",
          keepAlive: false
        }
      },
      {
        path: '/processTechnologydata',
        name: 'processTechnologydata',
        component: processTechnologydata,
        meta: {
          title: "技术部资料",
          keepAlive: true
        }
      },
      {
        path: '/processSizelist',
        name: 'processSizelist',
        component: processSizelist,
        meta: {
          title: "尺寸维护",
          keepAlive: true
        }
      },
      {
        path: '/processPDF',
        name: 'processPDF',
        component: processPDF,
        meta: {
          title: "工艺单详情",
          keepAlive: false
        }
      },
      {
        path: '/ProcessMaintenanceProcessedit',
        name: 'ProcessMaintenanceProcessedit',
        component: ProcessMaintenanceProcessedit,
        meta: {
          title: "工艺单编辑",
          keepAlive: false
        }
      },
      {
        path: '/ProcessMaintenanceProcess',
        name: 'ProcessMaintenanceProcess',
        component: ProcessMaintenanceProcess,
        meta: {
          title: "工艺单",
          keepAlive: true
        }
      },

      {
        path: '/ProcessMaintenanceSizelook',
        name: 'ProcessMaintenanceSizelook',
        component: ProcessMaintenanceSizelook,
        meta: {
          title: "尺码表详情",
          keepAlive: false
        }
      },
      {
        path: '/ProcessMaintenanceSizeEdit',
        name: 'ProcessMaintenanceSizeEdit',
        component: ProcessMaintenanceSizeEdit,
        meta: {
          title: "尺码表编辑",
          keepAlive: false
        }
      },
      {
        path: '/ProcessMaintenanceSize',
        name: 'ProcessMaintenanceSize',
        component: ProcessMaintenanceSize,
        meta: {
          title: "尺码表",
          keepAlive: true
        }
      },
      {
        path: '/ProcessMaintenanceCodons',
        name: 'ProcessMaintenanceCodons',
        component: ProcessMaintenanceCodons,
        meta: {
          title: "基码维护",
          keepAlive: false
        }
      },
      {
        path: '/ProcessMaintenancePlan',
        name: 'ProcessMaintenancePlan',
        component: ProcessMaintenancePlan,
        meta: {
          title: "方案编辑",
          keepAlive: false
        }
      },
      {
        path: '/ProcessMaintenance',
        name: 'ProcessMaintenance',
        component: ProcessMaintenance,
        meta: {
          title: "部位/方案/基码维护",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentFabricEdit',
        name: 'OperationalDepartmentFabricEdit',
        component: OperationalDepartmentFabricEdit,
        meta: {
          title: "面料编辑",
          keepAlive: false
        }
      },
      {
        path: '/OperationalDepartmentFabric',
        name: 'OperationalDepartmentFabric',
        component: OperationalDepartmentFabric,
        meta: {
          title: "面料管理",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentNotForSaleEdit',
        name: 'OperationalDepartmentNotForSaleEdit',
        component: OperationalDepartmentNotForSaleEdit,
        meta: {
          title: "非售卖商品信息管理编辑",
          keepAlive: false
        }
      },
      {
        path: '/OperationalDepartmentNotForSale',
        name: 'OperationalDepartmentNotForSale',
        component: OperationalDepartmentNotForSale,
        meta: {
          title: "非售卖商品信息管理",
          keepAlive: true
        }
      },
      {
        path: '/SettingOkr',
        name: 'SettingOkr',
        component: SettingOkr,
        meta: {
          title: "设置OKR",
          keepAlive: true
        }
      },
      {
        path: '/contractrunid',
        name: 'contractrunid',
        component: contractrunid,
        meta: {
          title: "审批进度",
          keepAlive: false
        }
      },
      {
        path: '/contractruniddetail',
        name: 'contractruniddetail',
        component: contractruniddetail,
        meta: {
          title: "审批进度",
          keepAlive: false
        }
      },

      {
        path: '/contractlistXH',
        name: 'contractlistXH',
        component: contractlistXH,
        meta: {
          title: "绣花合同列表",
          keepAlive: true
        }
      },

      {
        path: '/OtherMealOrderSummarizing',
        name: 'OtherMealOrderSummarizing',
        component: OtherMealOrderSummarizing,
        meta: {
          title: "点餐汇总",
          keepAlive: true
        }
      },
      {
        path: '/OtherMealOrder',
        name: 'OtherMealOrder',
        component: OtherMealOrder,
        meta: {
          title: "点餐餐单更新",
          keepAlive: true
        }
      },
      {
        path: '/Contractrepair',
        name: 'Contractrepair',
        component: Contractrepair,
        meta: {
          title: "返修退款列表",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableOperatingNewEnd',
        name: 'OnTheNewTableOperatingNewEnd',
        component: OnTheNewTableOperatingNewEnd,
        meta: {
          title: "上新结束",
          keepAlive: true
        }
      },

      {
        path: '/UpdateDelayList',
        name: 'UpdateDelayList',
        component: UpdateDelayList,
        meta: {
          title: "更新延期数列表",
          keepAlive: false
        }
      },
      {
        path: '/UpdateDelay',
        name: 'UpdateDelay',
        component: UpdateDelay,
        meta: {
          title: "更新延期数",
          keepAlive: false
        }
      },
      {
        path: '/DDH5',
        name: 'DDH5',
        component: DDH5,
        meta: {
          title: "钉钉H5微应用",
          keepAlive: false
        }
      },

      {
        path: '/contractcorrectionadd',
        name: 'contractcorrectionadd',
        component: contractcorrectionadd,
        meta: {
          title: "生产加工单增裁",
          keepAlive: true
        }
      },
      {
        path: '/contractEmbroiderList',
        name: 'contractEmbroiderList',
        component: contractEmbroiderList,
        meta: {
          title: "成衣对账前统计",
          keepAlive: true
        }
      },
      {
        path: '/contractEmbroiderListXH',
        name: 'contractEmbroiderListXH',
        component: contractEmbroiderListXH,
        meta: {
          title: "绣花对账前统计",
          keepAlive: true
        }
      },
      {
        path: '/Contractcorrection',
        name: 'Contractcorrection',
        component: Contractcorrection,
        meta: {
          title: "生产加工单修正",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableOperatingEdit',
        name: 'OnTheNewTableOperatingEdit',
        component: OnTheNewTableOperatingEdit,
        meta: {
          title: "编辑页面推荐尺码",
          keepAlive: false
        }
      },
      {
        path: '/OnTheNewTableOperatingIndexCP',
        name: 'OnTheNewTableOperatingIndexCP',
        component: OnTheNewTableOperatingIndexCP,
        meta: {
          title: "产品部上新表",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableOperatingIndexYX',
        name: 'OnTheNewTableOperatingIndexYX',
        component: OnTheNewTableOperatingIndexYX,
        meta: {
          title: "营销部上新表",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableOperatingIndexSJ',
        name: 'OnTheNewTableOperatingIndexSJ',
        component: OnTheNewTableOperatingIndexSJ,
        meta: {
          title: "设计部上新表",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableOperatingIndexJS',
        name: 'OnTheNewTableOperatingIndexJS',
        component: OnTheNewTableOperatingIndexJS,
        meta: {
          title: "技术部上新表",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableOperatingIndex',
        name: 'OnTheNewTableOperatingIndex',
        component: OnTheNewTableOperatingIndex,
        meta: {
          title: "上新表总表",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableRecommendedIndex',
        name: 'OnTheNewTableRecommendedIndex',
        component: OnTheNewTableRecommendedIndex,
        meta: {
          title: "推荐尺码管理",
          keepAlive: true
        }
      },
      {
        path: '/OnTheNewTableTheIndexOfInformationIndex',
        name: 'OnTheNewTableTheIndexOfInformationIndex',
        component: OnTheNewTableTheIndexOfInformationIndex,
        meta: {
          title: "指数信息管理",
          keepAlive: true
        }
      },
      {
        path: '/NuclearpriceListDetail',
        name: 'NuclearpriceListDetail',
        component: NuclearpriceListDetail,
        meta: {
          title: "核价单详情",
          keepAlive: false
        }
      },
      {
        path: '/NuclearpriceList',
        name: 'NuclearpriceList',
        component: NuclearpriceList,
        meta: {
          title: "核价单列表",
          keepAlive: true
        }
      },
      {
        path: '/ProcessingNuclearPrice',
        name: 'ProcessingNuclearPrice',
        component: ProcessingNuclearPrice,
        meta: {
          title: "成品加工核价审核",
          keepAlive: true
        }
      },
      {
        path: '/Contractextraworkingprocedure',
        name: 'Contractextraworkingprocedure',
        component: Contractextraworkingprocedure,
        meta: {
          title: "工序加工费管理",
          keepAlive: true
        }
      },
      {
        path: '/ContractReconciliationDetail',
        name: 'ContractReconciliationDetail',
        component: ContractReconciliationDetail,
        meta: {
          title: "对账单详情",
          keepAlive: false
        }
      },
      {
        path: '/ContractReconciliationDetailXH',
        name: 'ContractReconciliationDetailXH',
        component: ContractReconciliationDetailXH,
        meta: {
          title: "绣花厂对账单详情",
          keepAlive: false
        }
      },
      {
        path: '/ContractReconciliationDetailFx',
        name: 'ContractReconciliationDetailFx',
        component: ContractReconciliationDetailFx,
        meta: {
          title: "返修对账单详情",
          keepAlive: false
        }
      },

      {
        path: '/ContractReconciliation',
        name: 'ContractReconciliation',
        component: ContractReconciliation,
        meta: {
          title: "加工厂对账单",
          keepAlive: true
        }
      },
      {
        path: '/ContractReconciliationFX',
        name: 'ContractReconciliationFX',
        component: ContractReconciliationFX,
        meta: {
          title: "返修退款对账单",
          keepAlive: false
        }
      },

      {
        path: '/ContractReconciliationXH',
        name: 'ContractReconciliationXH',
        component: ContractReconciliationXH,
        meta: {
          title: "绣花厂对账单",
          keepAlive: true
        }
      },

      {
        path: '/ContractStatementOfProcessingPlant',
        name: 'ContractStatementOfProcessingPlant',
        component: ContractStatementOfProcessingPlant,
        meta: {
          title: "对账单列表",
          keepAlive: true
        }
      },
      {
        path: '/ContractStatementOfProcessingPlantXH',
        name: 'ContractStatementOfProcessingPlantXH',
        component: ContractStatementOfProcessingPlantXH,
        meta: {
          title: "绣花厂对账单列表",
          keepAlive: true
        }
      },
        {
            path: '/ContractStatementOfProcessingPlantXHZG',
            name: 'ContractStatementOfProcessingPlantXHZG',
            component: ContractStatementOfProcessingPlantXHZG,
            meta: {
                title: "绣花暂估",
                keepAlive: true
            }
        },
      {
        path: '/ContractStatementOfProcessingPlantFx',
        name: 'ContractStatementOfProcessingPlantFx',
        component: ContractStatementOfProcessingPlantFx,
        meta: {
          title: "返修对账单列表",
          keepAlive: true
        }
      },

      {
        path: '/PDAdminProvenTechniquepurchaseReturn',
        name: 'PDAdminProvenTechniquepurchaseReturn',
        component: PDAdminProvenTechniquepurchaseReturn,
        meta: {
          title: "采购退货列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechniqueMy',
        name: 'PDAdminProvenTechniqueMy',
        component: PDAdminProvenTechniqueMy,
        meta: {
          title: "个人成品加工单",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechniqueFSMSP',
        name: 'PDAdminProvenTechniqueFSMSP',
        component: PDAdminProvenTechniqueFSMSP,
        meta: {
          title: "非售卖商品成品加工单",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechniqueFSMSPEdit',
        name: 'PDAdminProvenTechniqueFSMSPEdit',
        component: PDAdminProvenTechniqueFSMSPEdit,
        meta: {
          title: "非售卖商品成品加工单编辑",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechniqueFSMSPNew',
        name: 'PDAdminProvenTechniqueFSMSPNew',
        component: PDAdminProvenTechniqueFSMSPNew,
        meta: {
          title: "非售卖商品成品加工单创建",
          keepAlive: true
        }
      },

      {
        path: '/ContractReturnNote',
        name: 'ContractReturnNote',
        component: ContractReturnNote,
        meta: {
          title: "回货单列表",
          keepAlive: true
        }
      },

      {
        path: '/OperationalDepartmentProductionSummaryIndex',
        name: 'OperationalDepartmentProductionSummaryIndex',
        component: OperationalDepartmentProductionSummaryIndex,
        meta: {
          title: "产品汇总表",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentBasic',
        name: 'OperationalDepartmentBasic',
        component: OperationalDepartmentBasic,
        meta: {
          title: "商品基本信息管理",
          keepAlive: false
        }
      },
      {
        path: '/OperationalDepartmentInventory',
        name: 'OperationalDepartmentInventory',
        component: OperationalDepartmentInventory,
        meta: {
          title: "库存查询",
          keepAlive: true
        }
      },

      {
        path: '/OperationalDepartmentexport',
        name: 'OperationalDepartmentexport',
        component: OperationalDepartmentexport,
        meta: {
          title: "导出任务列表",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentInventoryAllocationTB',
        name: 'OperationalDepartmentInventoryAllocationTB',
        component: OperationalDepartmentInventoryAllocationTB,
        meta: {
          title: "淘宝库存分配",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentInventoryAllocationTM',
        name: 'OperationalDepartmentInventoryAllocationTM',
        component: OperationalDepartmentInventoryAllocationTM,
        meta: {
          title: "天猫库存分配",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentInventoryAllocationDY',
        name: 'OperationalDepartmentInventoryAllocationDY',
        component: OperationalDepartmentInventoryAllocationDY,
        meta: {
          title: "抖音库存分配",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentColorAbnormal',
        name: 'OperationalDepartmentColorAbnormal',
        component: OperationalDepartmentColorAbnormal,
        meta: {
          title: "颜色码异常",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentInventoryAllocation',
        name: 'OperationalDepartmentInventoryAllocation',
        component: OperationalDepartmentInventoryAllocation,
        meta: {
          title: "批次库存",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentInventoryAllocationcopy',
        name: 'OperationalDepartmentInventoryAllocationcopy',
        component: OperationalDepartmentInventoryAllocationcopy,
        meta: {
          title: "库存分配",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentInventoryAllocationcopyYx',
        name: 'OperationalDepartmentInventoryAllocationcopyYx',
        component: OperationalDepartmentInventoryAllocationcopyYx,
        meta: {
          title: "有香库存",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentCommodityInformationManagement',
        name: 'OperationalDepartmentCommodityInformationManagement',
        component: OperationalDepartmentCommodityInformationManagement,
        meta: {
          title: "商品信息管理",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentCommodityInformationManagementEdit',
        name: 'OperationalDepartmentCommodityInformationManagementEdit',
        component: OperationalDepartmentCommodityInformationManagementEdit,
        meta: {
          title: "商品信息编辑",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentCommodityInformationManagementEditTao',
        name: 'OperationalDepartmentCommodityInformationManagementEditTao',
        component: OperationalDepartmentCommodityInformationManagementEditTao,
        meta: {
          title: "商品信息编辑",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentTag',
        name: 'OperationalDepartmentTag',
        component: OperationalDepartmentTag,
        meta: {
          title: "标签种类管理",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentTagEdit',
        name: 'OperationalDepartmentTagEdit',
        component: OperationalDepartmentTagEdit,
        meta: {
          title: "标签种类编辑",
          keepAlive: true
        }
      },

      {
        path: '/WarehouseAdminDeliveryRecordListErrorList',
        name: 'WarehouseAdminDeliveryRecordListErrorList',
        component: WarehouseAdminDeliveryRecordListErrorList,
        meta: {
          title: "出库失败列表",
          keepAlive: true
        }
      },
      {
        path: '/Contractextra',
        name: 'Contractextra',
        component: Contractextra,
        meta: {
          title: "额外费用管理",
          keepAlive: true
        }
      },
      {
        path: '/Contractpenalty',
        name: 'Contractpenalty',
        component: Contractpenalty,
        meta: {
          title: "违约金/赔偿金管理",
          keepAlive: true
        }
      },
      {
        path: '/contractpenaltyXh',
        name: 'contractpenaltyXh',
        component: contractpenaltyXh,
        meta: {
          title: "绣花违约金/赔偿金管理",
          keepAlive: true
        }
      },
      {
        path: '/Contractimprest',
        name: 'Contractimprest',
        component: Contractimprest,
        meta: {
          title: "预付款管理",
          keepAlive: true
        }
      },
      {
        path: '/Contractdetail',
        name: 'Contractdetail',
        component: Contractdetail,
        meta: {
          title: "合同详情",
          keepAlive: true
        }
      },
      {
        path: '/Contractlist',
        name: 'Contractlist',
        component: Contractlist,
        meta: {
          title: "合同列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminRiskWarning',
        name: 'PDAdminRiskWarning',
        component: PDAdminRiskWarning,
        meta: {
          title: "生产风险预警列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminMaintenanceAffirmList',
        name: 'PDAdminMaintenanceAffirmList',
        component: PDAdminMaintenanceAffirmList,
        meta: {
          title: "吊牌确认列表",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminLiningAffirmList',
        name: 'PDAdminLiningAffirmList',
        component: PDAdminLiningAffirmList,
        meta: {
          title: "面料确认列表",
          keepAlive: true
        }
      },
      {
        path: '/LayoutAdminFlowPathNewFlow',
        name: 'LayoutAdminFlowPathNewFlow',
        component: LayoutAdminFlowPathNewFlow,
        meta: {
          title: "新增流程",
          keepAlive: true
        }
      },
      {
        path: '/LayoutAdminFlowPath',
        name: 'LayoutAdminFlowPath',
        component: LayoutAdminFlowPath,
        meta: {
          title: "流程列表",
          keepAlive: true
        }
      },
      {
        path: '/HRDimissionList',
        name: 'HRDimissionList',
        component: HRDimissionList,
        meta: {
          title: "离职管理",
          keepAlive: true
        }
      },
      {
        path: '/OperationalDepartmentLargeScreen',
        name: 'OperationalDepartmentLargeScreen',
        component: OperationalDepartmentLargeScreen,
        meta: {
          title: "数据大屏",
          keepAlive: true
        }
      },
      {
        path: '/WarehouseAdminDeliveryRecordList',
        name: 'WarehouseAdminDeliveryRecordList',
        component: WarehouseAdminDeliveryRecordList,
        meta: {
          title: "出库列表",
          keepAlive: true
        }
      },
      {
        path: '/QCExemptQC',
        name: 'QCExemptQC',
        component: QCExemptQC,
        meta: {
          title: "免QC质检",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechnique',
        name: 'PDAdminProvenTechnique',
        component: PDAdminProvenTechnique,
        meta: {
          title: "成品加工单",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechniqueJS',
        name: 'PDAdminProvenTechniqueJS',
        component: PDAdminProvenTechniqueJS,
        meta: {
          title: "技术部加工单数据",
          keepAlive: true
        }
      },
      {
        path: '/PDAdminProvenTechniqueT',
        name: 'PDAdminProvenTechniqueT',
        component: PDAdminProvenTechniqueT,
        meta: {
          title: "加工单推送",
          keepAlive: true
        }
      },
      {
        path: '/MaintenanceDetail',
        name: 'MaintenanceDetail',
        component: MaintenanceDetail,
        meta: {
          title: "吊牌详情",
          keepAlive: false
        }
      },
      {
        path: '/Maintenance',
        name: 'Maintenance',
        component: Maintenance,
        meta: {
          title: "吊牌管理",
          keepAlive: true
        }
      },
      {
        path: '/LiningAdminDetail',
        name: 'LiningAdminDetail',
        component: LiningAdminDetail,
        meta: {
          title: "面料详情",
          keepAlive: false
        }
      },
      {
        path: '/LiningAdmin',
        name: 'LiningAdmin',
        component: LiningAdmin,
        meta: {
          title: "面料管理",
          keepAlive: true
        }
      },
      {
        path: '/LiningAdminClassList',
        name: 'LiningAdminClassList',
        component: LiningAdminClassList,
        meta: {
          title: "面料类型管理",
          keepAlive: true
        }
      },
      {
        path: '/PlantDetail',
        name: 'PlantDetail',
        component: PlantDetail,
        meta: {
          title: "编辑工厂用户",
          keepAlive: true
        }
      },
      {
        path: '/DBOLeakRepairingList',
        name: 'DBOLeakRepairingList',
        component: DBOLeakRepairingList,
        meta: {
          title: "增裁审核列表",
          keepAlive: true
        }
      },
      {
        path: '/LeakRepairingList',
        name: 'LeakRepairingList',
        component: LeakRepairingList,
        meta: {
          title: "增裁列表",
          keepAlive: true
        }
      },
      {
        path: '/DISCList',
        name: 'DISCList',
        component: DISCList,
        meta: {
          title: "DISC列表",
          keepAlive: true
        }
      },
      {
        path: '/HRInterviewIssue',
        name: 'HRInterviewIssue',
        component: HRInterviewIssue,
        meta: {
          title: "添加岗位问题",
          keepAlive: true
        }
      },
      {
        path: '/PositionList',
        name: 'PositionList',
        component: PositionList,
        meta: {
          title: "职位列表",
          keepAlive: true
        }
      },

      {
        path: '/WorkingSchedule',
        name: 'WorkingSchedule',
        component: WorkingSchedule,
        meta: {
          title: "排班表",
          keepAlive: true
        }
      },
      {
        path: '/Shop',
        name: 'Shop',
        component: Shop,
        meta: {
          title: "门店列表",
          keepAlive: true
        }
      },
      {
        path: '/ReportForm',
        name: 'ReportForm',
        component: ReportForm,
        meta: {
          title: "报表",
          keepAlive: true
        }
      },
      {
        path: '/Schedule',
        name: 'Schedule',
        component: Schedule,
        meta: {
          title: "产品开发进度（测试）",
          keepAlive: true
        }
      },
      {
        path: '/Suit',
        name: 'Suit',
        component: Suit,
        meta: {
          title: "套装列表",
          keepAlive: true
        }
      },
      {
        path: '/LayoutList',
        name: 'LayoutList',
        component: LayoutList,
        meta: {
          title: "企划列表",
          keepAlive: true
        }
      },
      {
        path: '/CategoryList',
        name: 'CategoryList',
        component: CategoryList,
        meta: {
          title: "品类列表",
          keepAlive: true
        }
      },
      {
        path: '/newSuit',
        name: 'newSuit',
        component: newSuit,
        meta: {
          title: "套装",
          keepAlive: true
        }
      },
      {
        path: '/ShapeAndStructure',
        name: 'ShapeAndStructure',
        component: ShapeAndStructure,
        meta: {
          title: "形制列表",
          keepAlive: true
        }
      },
      {
        path: '/Administrative',
        name: 'Administrative',
        component: Administrative,
        meta: {
          title: "采购列表",
          keepAlive: true
        }
      },
      {
        path: '/Procurement',
        name: 'Procurement',
        component: Procurement,
        meta: {
          title: "采购录入",
          keepAlive: true
        }
      },
      {
        path: '/TaobaoAeconciliation',
        name: 'TaobaoAeconciliation',
        component: TaobaoAeconciliation,
        meta: {
          title: "淘宝对账列表",
          keepAlive: true
        }
      },
      {
        path: '/TaobaoRefund',
        name: 'TaobaoRefund',
        component: TaobaoRefund,
        meta: {
          title: "退款对账列表",
          keepAlive: true
        }
      },
      {
        path: '/TaobaoTianmao',
        name: 'TaobaoTianmao',
        component: TaobaoTianmao,
        meta: {
          title: "天猫对账列表",
          keepAlive: true
        }
      },
      {
        path: '/PDList',
        name: 'PDList',
        component: PDList,
        meta: {
          title: "生产部列表",
          keepAlive: true
        }
      },
      {
        path: '/COOList',
        name: 'COOList',
        component: COOList,
        meta: {
          title: "运营部列表",
          keepAlive: true
        }
      },
      {
        path: '/PostponeList',
        name: 'PostponeList',
        component: PostponeList,
        meta: {
          title: "延期库存",
          keepAlive: true
        }
      },
      {
        path: '/WarningList',
        name: 'WarningList',
        component: WarningList,
        meta: {
          title: "7天预警",
          keepAlive: true
        }
      },
      {
        path: '/PostponeGiftList',
        name: 'PostponeGiftList',
        component: PostponeGiftList,
        meta: {
          title: "赠品延期",
          keepAlive: true
        }
      },
      {
        path: '/NotDeliveryTimeList',
        name: 'NotDeliveryTimeList',
        component: NotDeliveryTimeList,
        meta: {
          title: "无交期数据",
          keepAlive: true
        }
      },
      {
        path: '/Spectaculars',
        name: 'Spectaculars',
        component: Spectaculars,
        meta: {
          title: "延期表看板",
          keepAlive: true
        }
      },
      {
        path: '/QCRecord',
        name: 'QCRecord',
        component: QCRecord,
        meta: {
          title: "QC质检记录",
          keepAlive: true
        }
      },

      {
        path: '/Cangrkthstamp',
        name: 'Cangrkthstamp',
        component: Cangrkthstamp,
        meta: {
          title: "入库退货单",
          keepAlive: false
        }
      },
      {
        path: '/CangrkthDetail',
        name: 'CangrkthDetail',
        component: CangrkthDetail,
        meta: {
          title: "入库退货详情",
          keepAlive: false
        }
      },

      {
        path: '/CangrkthListw',
        name: 'CangrkthListw',
        component: CangrkthListw,
        meta: {
          title: "入库退货管理(无单)",
          keepAlive: true
        }
      },
      {
        path: '/CangrkthList',
        name: 'CangrkthList',
        component: CangrkthList,
        meta: {
          title: "入库退货管理",
          keepAlive: true
        }
      },
      {
        path: '/CangRecord',
        name: 'CangRecord',
        component: CangRecord,
        meta: {
          title: "仓库质检记录",
          keepAlive: true
        }
      },
      {
        path: '/FinanceRefundRecord',
        name: 'FinanceRefundRecord',
        component: FinanceRefundRecord,
        meta: {
          title: "退款记录",
          keepAlive: true
        }
      },
      {
        path: '/QCList',
        name: 'QCList',
        component: QCList,
        meta: {
          title: "QC质检员名单",
          keepAlive: true
        }
      },
      {
        path: '/CangList',
        name: 'CangList',
        component: CangList,
        meta: {
          title: "仓检质检员名单",
          keepAlive: true
        }
      },
      {
        path: '/CompetingGoods',
        name: 'CompetingGoods',
        component: CompetingGoods,
        meta: {
          title: "竞品",
          keepAlive: true
        }
      },
      {
        path: '/OneBoard',
        name: 'OneBoard',
        component: OneBoard,
        meta: {
          title: "一衣一码看板",
          keepAlive: true
        }
      },
      {
        path: '/SendRecord',
        name: 'SendRecord',
        component: SendRecord,
        meta: {
          title: "唯一码发送记录",
          keepAlive: true
        }
      },

      {
        path: '/QCBoard',
        name: 'QCBoard',
        component: QCBoard,
        meta: {
          title: "QC看板",
          keepAlive: true
        }
      },
      {
        path: '/QCAweekBoard',
        name: 'QCAweekBoard',
        component: QCAweekBoard,
        meta: {
          title: "QC看板管理",
          keepAlive: true
        }
      },
      {
        path: '/CangBoard',
        name: 'CangBoard',
        component: CangBoard,
        meta: {
          title: "仓库看板",
          keepAlive: true
        }
      },
      {
        path: '/CangAweekBoard',
        name: 'CangAweekBoard',
        component: CangAweekBoard,
        meta: {
          title: "仓检看板管理",
          keepAlive: true
        }
      },
      {
        path: '/QCQualifiedList',
        name: 'QCQualifiedList',
        component: QCQualifiedList,
        meta: {
          title: "QC合格率查询统计",
          keepAlive: true
        }
      },
      {
        path: '/CangQualifiedList',
        name: 'CangQualifiedList',
        component: CangQualifiedList,
        meta: {
          title: "仓检合格率查询统计",
          keepAlive: true
        }
      },
      {
        path: '/QCHistory',
        name: 'QCHistory',
        component: QCHistory,
        meta: {
          title: "QC历史记录详情",
          keepAlive: true
        }
      },
      {
        path: '/CangHistory',
        name: 'CangHistory',
        component: CangHistory,
        meta: {
          title: "仓检历史记录详情",
          keepAlive: true
        }
      },
      {
        path: '/Export',
        name: 'Export',
        component: Export,
        meta: {
          title: "一衣一码打印",
          keepAlive: true
        }
      },
      {
        path: '/ExportCancellation',
        name: 'ExportCancellation',
        component: ExportCancellation,
        meta: {
          title: "一衣一码打印",
          keepAlive: true
        }
      },
      {
        path: '/Backlog',
        name: 'Backlog',
        component: Backlog,
        meta: {
          title: "作废待审批",
          keepAlive: true
        }
      },
      {
        path: '/CancellationList',
        name: 'CancellationList',
        component: CancellationList,
        meta: {
          title: "作废列表",
          keepAlive: true
        }
      },
      {
        path: '/SpillRatio',
        name: 'SpillRatio',
        component: SpillRatio,
        meta: {
          title: "溢装比",
          keepAlive: true
        }
      },

      {
        path: '/ReorderRecord',
        name: 'ReorderRecord',
        component: ReorderRecord,
        meta: {
          title: "翻单记录",
          keepAlive: true
        }
      },
      {
        path: '/AntiFake',
        name: 'AntiFake',
        component: AntiFake,
        meta: {
          title: "用户防伪查询记录",
          keepAlive: true
        }
      },
      {
        path: '/SalesDataAnalysis',
        name: 'SalesDataAnalysis',
        component: SalesDataAnalysis,
        meta: {
          title: "销售数据分析",
          keepAlive: true
        }
      },
      {
        path: '/ComplainList',
        name: 'ComplainList',
        component: ComplainList,
        meta: {
          title: "投诉列表",
          keepAlive: true
        }
      },
      {
        path: '/SettingModelList',
        name: 'SettingModelList',
        component: SettingModelList,
        meta: {
          title: "模块管理",
          keepAlive: true
        }
      },
      {
        path: '/SettingModelDetail',
        name: 'SettingModelDetail',
        component: SettingModelDetail,
        meta: {
          title: "模块详情",
          keepAlive: true
        }
      },
      {
        path: '/SettingModelOneList',
        name: 'SettingModelOneList',
        component: SettingModelOneList,
        meta: {
          title: "一级模块管理",
          keepAlive: true
        }
      },
      {
        path: '/SettingModelOneDetail',
        name: 'SettingModelOneDetail',
        component: SettingModelOneDetail,
        meta: {
          title: "一级模块详情",
          keepAlive: true
        }
      },
      {
        path: '/SettingIdentityList',
        name: 'SettingIdentityList',
        component: SettingIdentityList,
        meta: {
          title: "身份管理",
          keepAlive: true
        }
      },
      {
        path: '/SettingIdentityDetail',
        name: 'SettingIdentityDetail',
        component: SettingIdentityDetail,
        meta: {
          title: "身份详情",
          keepAlive: true
        }
      },
      {
        path: '/SettingOperationList',
        name: 'SettingOperationList',
        component: SettingOperationList,
        meta: {
          title: "操作管理",
          keepAlive: true
        }
      },

      {
        path: '/PlantList',
        name: 'PlantList',
        component: PlantList,
        meta: {
          title: "加工厂列表",
          keepAlive: true
        }
      },
      {
        path: '/PlantUserList',
        name: 'PlantUserList',
        component: PlantUserList,
        meta: {
          title: "工厂用户列表",
          keepAlive: true
        }
      },
      {
        path: '/PlantUserListOne',
        name: 'PlantUserListOne',
        component: PlantUserListOne,
        meta: {
          title: "工厂用户列表",
          keepAlive: false
        }
      },
      {
        path: '/InquireRFID',
        name: 'InquireRFID',
        component: InquireRFID,
        meta: {
          title: "查询RFID",
          keepAlive: true
        }
      },

      {
        path: '/ReorderRecordDetail',
        name: 'ReorderRecordDetail',
        component: ReorderRecordDetail,
        meta: {
          title: "翻单详情",
          keepAlive: true
        }
      },
      {
        path: '/HR',
        name: 'HR',
        component: HR,
        meta: {
          title: "面试白名单",
          keepAlive: true
        }
      },
      {
        path: '/HRTwo',
        name: 'HRTwo',
        component: HRTwo,
        meta: {
          title: "面试汇总",
          keepAlive: true
        }
      },
      {
        path: '/HRThree',
        name: 'HRThree',
        component: HRThree,
        meta: {
          title: "员工信息",
          keepAlive: true
        }
      },
      {
        path: '/HRDepartment',
        name: 'HRDepartment',
        component: HRDepartment,
        meta: {
          title: "部门管理",
          keepAlive: true
        }
      },
      {
        path: '/UserAdminUserList',
        name: 'UserAdminUserList',
        component: UserAdminUserList,
        meta: {
          title: "用户管理",
          keepAlive: true
        }
      },
      {
        path: '/UserAdminUserDetail',
        name: 'UserAdminUserDetail',
        component: UserAdminUserDetail,
        meta: {
          title: "用户详情",
          keepAlive: true
        }
      },
      {
        path: '/Home',
        name: 'Home',
        component: Home,
        meta: {
          title: "首页",
          keepAlive: true
        }
      }

    ]
  },
  {
    path: '/fsIndex',
    name: 'fsIndex',
    component: fsIndex,
    meta: {
      title: "审批",
      keepAlive: true
    }
  },
  {
    path: '/LoginMM',
    name: 'LoginMM',
    component: Login,
  },
  {
    path: '/qrCode',
    name: 'qrCode',
    component: qrCode,
  },
  {
    path: '/qrCodeTwo',
    name: 'qrCodeTwo',
    component: qrCodeTwo,
  },
  {
    path: '/loading',
    name: 'loading',
    component: loading,
  },
  {
    path: '/loadingmz',
    name: 'loadingmz',
    component: loadingmz,
  },
  {
    path: '/table',
    name: 'table',
    component: table,
  }

]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})
router.beforeEach(async (to, from, next) => {
  if (to.name != from.name) {
    if (to.name != "LoginMM" && to.name != "fsIndex" && !localStorage.getItem("userinfo") && to.name != "table" && to.name != "qrCode" && to.name != "loading" && to.name != "loadingmz") {
      next({ name: "qrCode" })
      return
    }
    if (to.name === "LoginMM" || to.name != "fsIndex" || to.name === "loading" || to.name === "loadingmz" || to.name === "qrCode") {
      next();
      return
    }
    next()
  }

});
export default router
